package org.pine.start.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * mybatis-plus自定义配置属性
 *
 * @author pine
 * @version v1.0
 * @since 2025-04-12 13:20
 */
@Data
@ConfigurationProperties(prefix = "pine.database")
public class MybatisPlusCustomProperties {

    /**
     * 是否打印sql
     */
    private Boolean printSql = false;

    /**
     * 加解密key (16位以上的字母和数字组合)
     */
    private String sensitiveTextKey = "84544012a5246bac71591fa0cc54329c";

    /**
     * 加解密前缀
     */
    private String sensitiveTextPrefix = "PINE";
}
